package com.etc.service.impl;

import com.etc.dao.SecondTypeNameDao;
import com.etc.service.SecondTypeOfNameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SecondTypeOfNameServiceImpl implements SecondTypeOfNameService {

    @Autowired
    SecondTypeNameDao dao;


    @Override
    public List<String> getSecondTypeNameByVideoId(int videoId) {
        return dao.querySecondTypeNameByVideoId(videoId);
    }
}
